import request from '@/utils/request'

const API = "/admin/dict"

export default{
    getDictList(id) {
        return request({
          url: `${API}/findChildData/${id}`,
          method: 'get'
        })
    },
    findProvince(province){
      return request({
        url: `${API}/findProvince/${province}`,
        method: 'get'
      })
    },
    findCity(parentId){
      return request({
        url: `${API}/findCity/${parentId}`,
        method: 'get'
      })
    }
} 

